package com.stylefeng.guns.modular.system.dao;

import com.stylefeng.guns.modular.system.model.Student;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;

/**
 * <p>
 * 用户表; InnoDB free: 14336 kB Mapper 接口
 * </p>
 *
 * @author sxh
 * @since 2018-11-06
 */
public interface StudentMapper extends BaseMapper<Student> {

	/**
	 * 
	 * @param page 
	 * @function: <p> 根据条件查询学生列表</p>
	 * @param name
	 * @param beginTime
	 * @param endTime
	 * @param asc 
	 * @param orderByField 
	 * @return
	 */
	List<Map<String, Object>> selectStudents(Page<Student> page, @Param("name")String name, @Param("beginTime")String beginTime,@Param("endTime") String endTime,@Param("orderByField") String orderByField, @Param("isAsc") boolean isAsc);

}
